Skip to main content

Event

Interfaces

EventProps

Properties

EventFeedProps?

optional EventFeedProps: EventFeedProps

Props to spread to EventFeed component

Default
{}
Source

Event/Event.tsx:70

EventHeaderProps?

optional EventHeaderProps: EventHeaderProps

Props to spread EventHeader component

Default
{}
Source

Event/Event.tsx:76

FeedObjectProps?

optional FeedObjectProps: FeedObjectProps

Props to spread to single feed object

Default
empty object
Source

Event/Event.tsx:58

FeedSidebarProps?

optional FeedSidebarProps: StickyBoxProps

Props to spread to single feed object

Default
{top: 0, bottomBoundary: `#${id}`}
Source

Event/Event.tsx:64

className?

optional className: string

Overrides or extends the styles applied to the component.

Default
null
Source

Event/Event.tsx:34

event?

optional event: SCEventType

Event Object

Default
null
Source

Event/Event.tsx:40

eventId?

optional eventId: number

Id of the event for filter the feed

Default
null
Source

Event/Event.tsx:46

id?

optional id: string

Id of the feed object

Default
'feed'
Source

Event/Event.tsx:28

widgets?

optional widgets: SCFeedWidgetType[]

Widgets to be rendered into the feed

Default
[]
Source

Event/Event.tsx:52

Functions

Event()

Event(inProps): JSX.Element

API documentation for the Community-JS Category Template. Learn about the available props and the CSS API.

This component renders a specific event's template. Take a look at our demo component here

Import

import {Group} from '@selfcommunity/react-templates';

Component Name

The name SCGroupTemplate can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCGroupTemplate-rootStyles applied to the root element.
feed.SCGroupTemplate-feedStyles applied to the feed element.

Parameters

ParameterTypeDescription
inPropsEventProps

Returns

JSX.Element

Source

Event/Event.tsx:104


EventSkeleton()

EventSkeleton(): JSX.Element

API documentation for the Community-JS Group Skeleton Template. Learn about the available props and the CSS API.

Import

import {EventSkeletonTemplate} from '@selfcommunity/react-templates';

Component Name

The name SCEventTemplate-skeleton-root can be used when providing style overrides in the theme.

CSS

Rule NameGlobal classDescription
root.SCEventTemplate-skeleton-rootStyles applied to the root element.

Returns

JSX.Element

Source

Event/Skeleton.tsx:37